function shareTo(type, target) {
	var content = document.title;
	var surl = window.location.href;
	if (surl == "") {
		login.style.display = "block";
		return false;
	}
	if ("kaixin" == type) {
		target.target = "_blank";
		target.href = "http://www.kaixin001.com/repaste/share.php?rurl="
				+ escape(surl) + "&rcontent=" + surl + "&rtitle=" + content;
	}
	if ("renren" == type) {
		target.target = "_blank";
		target.href = "http://share.renren.com/share/buttonshare.do?link="
				+ surl;
	}
	if ("douban" == type) {
		target.target = "_blank";
		target.href = "http://www.douban.com/recommend/?url=" + surl
				+ "&title=" + content;
	}
	if ("sina" == type) {
		target.target = "_blank";
		target.href = "http://v.t.sina.com.cn/share/share.php?url=" + surl
				+ "&title=" + content;
	}
	if ("sohu" == type) {
		target.target = "_blank";
		target.href = "http://bai.sohu.com/share/blank/addbutton.do?from=dBank&link="
				+ surl;
	}
	if ("qzone" == type) {
		target.target = "_blank";
		target.href = "http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url="
				+ surl;
	}
}